package org.leon.repository;

import org.leon.pojo.RedisPerson;
import org.springframework.data.repository.CrudRepository;

import java.util.List;


public interface PersonRepository extends CrudRepository<RedisPerson, String > {

    List<RedisPerson> findByAddress_City(String city);

}
